import axios from "./axios";

export const shoppingcarAdd = (data) => {
  return axios({
    method: "post",
    url: "/shoppingcar",
    data,
  });
};
export const shoppingcarQuery = (params) => {
  return axios({
    method: "get",
    url: "/shoppingcar",
    params,
  });
};
export const shoppingcarUpdate = (id, data) => {
  return axios({
    method: "patch",
    url: "/shoppingcar/" + id,
    data,
  });
};
